<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/loginforget.css">
    <script src="js/jquery-1.9.0.min.js"></script>
</head>
<body>
<div class="login_top">
    <div class="left">
        <span>三级分销的众筹平台</span>
    </div>
    <div class="right">
        <div class="bg1">
            <span>100%质量保证</span>
        </div>
        <div class="bg2">
            <span>未达成目标全额退款</span>
        </div>
        <div class="bg3">
            <span>全国包邮</span>
        </div>
    </div>
</div>
<div class="login_body">
    <div class="left"><img src="images/loginad_06.png"></div>
    <div class="right">
        <span class="spanlg">登录</span>
        <span class="spanrg">已有账号?<a href="login.html">立即登录</a></span>
        <input id="name" class="inputdiv inputbg1" placeholder="手机号/用户名/邮箱"><span id="tipname"></span>
        <input id="psw" class="inputdiv inputbg2" placeholder="请输入密码"><span id="tippsw"></span>
        <div class="end">
            <div class="lgbtn"><a href="#">登录</a></div>
            <span><a href="forgetpasswd.html">忘记密码</a></span>
        </div>
    </div>
</div>
<div class="tail">
    <div class="left">
        <div class="top">
            <div class="bg1 div_l"><span class="spana">发起人创建项目</span></div>
            <div class="divarrow"><span > > </span></div>
            <div class="bg2 div_l"><span class="spana">项目获得支持</span></div>
            <div class="divarrow"><span> > </span></div>
            <div class="bg3 div_l"><span class="spana">发起人发放回报</span></div>
            <div class="divarrow"><span> > </span></div>
            <div class="bg4 div_l"><span class="spana">用户得到回报</span></div>
        </div>
        <div class="below">
            <span>关于我们</span><span>|</span>
            <span>服务条款</span><span>|</span>
            <span>项目教程</span><span>|</span>
            <span>新手帮助</span><span>|</span>
            <span>常见问题</span><span>|</span>
            <span>意见反馈</span>
        </div>
    </div>
    <div class="mid">
        <div class="weichat">
            <span>微信公众号</span>
            <img src="images/foot_ewm_05.png">
        </div>
    </div>
    <div class="right">
        <div class="div1"><span>联系我们（9:00 － 18:00）</span></div>
        <div class="div2"><span>400-000-0000</span></div>
        <div class="div3"><span>wuxiandao@zhongchou.com</span></div>
        <div class="div4"><span>qq群：123456789</span></div>
    </div>
</div>
<div class="copyright">
    <span>@版权所有</span>
</div>
</body>
</html>
<script>
    $(function () {
        $(".login_body .right input").click(function () {
            $("#tipname").text("");
            $("#tippsw").text("");
        });

        $(".login_body .right .end .lgbtn a").click(function () {
            var name=$("#name").val();
            var psw=$("#psw").val();
            if(name==""){
                $("#tipname").css("color","red");
                $("#tipname").text("不能为空");
            }
            if(psw==""){
                $("#tippsw").css("color","red");
                $("#tippsw").text("不能为空");
            }else if(psw.length<6){
              $("#tippsw").css("color","red");
                $("#tippsw").text("不少于6");
           }
        });
    })
</script>